package com.wutong.resonance.model.exception;

/**
 * 音频播放器异常类
 * @author wutong
 */
public class AudioPlayerException extends RuntimeException {
    public AudioPlayerException(String message) {
        super(message);
    }

    public AudioPlayerException(String message, Throwable cause) {
        super(message, cause);
    }

    public AudioPlayerException(Throwable cause) {
        super(cause);
    }

    public AudioPlayerException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }

    public AudioPlayerException() {
        super();
    }

    public static class AudioPlayerInitException extends AudioPlayerException {
        public AudioPlayerInitException(String message) {
            super(message);
        }

        public AudioPlayerInitException(String message, Throwable cause) {
            super(message, cause);
        }

        public AudioPlayerInitException(Throwable cause) {
            super(cause);
        }

        public AudioPlayerInitException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
            super(message, cause, enableSuppression, writableStackTrace);
        }

        public AudioPlayerInitException() {
            super();
        }
    }
}
